home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / cal14s22.arc / CALLS.DOC < prev    next >
Text File  |  1991-12-07  |  19KB  |  483 lines

  1.  
  2.                              CALLS.EXE
  3.  
  4.               Call analyzer for PCBoard versions 11.7 
  5.   (updated for PCBoard 11.8 and PCB/ProDOOR, S.H.Smith, 07/05/87)
  6.           (updated for PCBoard 14.x, S.H.Smith, 01-17-91)
  7.  
  8.  
  9.      Note:  Warren Lauzon is no longer supporting this program 
  10.                (since he's completely rewriting it)
  11.         So, please don't bother him with support questions.
  12.  
  13.               If you need help with it, contact me at
  14.                          Samuel H. Smith,
  15.                        Sysop, The Tool Shop
  16.  
  17.                    Phone number         Modem type
  18.                   --------------    ---------------------
  19.                   (818) 891-3772    US Robotics HST 9600
  20.                   (818) 891-1344    Hayes-V series 9600
  21.                   (818) 891-6780    US Robotics 2400 (free line)
  22.  
  23.  
  24.                  CHANGE HISTORY (in reverse order)
  25.                  =================================
  26.  
  27. The "security level" reports were generating duplicate entries for some
  28. security levels.  You will have to delete CALLS.SAV and let CALLS
  29. rebuild it.
  30.  
  31. Version 14s22 08-Dec-91 S.H.Smith
  32. -----------------------------------------------------------------------
  33.  
  34.  
  35. Changed to accept new format of "new user registration" and "caller
  36. security level" enerated by pcboard 14.5.
  37.  
  38. Version 14s21 17-Jan-91 S.H.Smith
  39. -----------------------------------------------------------------------
  40.  
  41.  
  42. Added new report code 'R' to report "Minutes Used by Security Level".
  43. Renamed report code 'O' to "Number of Calls by Security Level".
  44.  
  45. Version 14s20 13-Apr-90 S.H.Smith
  46. -----------------------------------------------------------------------
  47.  
  48.  
  49. The "Free Download" and "Connect Type" reports were being interchanged
  50. in the .SAV file; this has been corrected, but old .SAV files must be
  51. rebuilt before these reports will be correct.
  52.  
  53. Added new EVENTMODE option to control how event time is reported.  The
  54. options are:
  55.  
  56.         EVENTMODE OFF   ;this option disables calculation of event
  57.                         ;duration
  58.  
  59.         EVENTMODE BUSY  ;this mode calculates event duration and
  60.                         ;accounts for it as 'busy' time (i.e. the system
  61.                         ;was in use during this time)
  62.  
  63.         EVENTMODE IDLE  ;this mode calculates event duration and
  64.                         ;accounts for it as 'idle' time (i.e. the system
  65.                         ;was NOT in use during this time)
  66.  
  67. Changed "event duration" reported to average minutes per event instead
  68. of total minutes for all events.
  69.  
  70. Added 29 new protocol codes:
  71.         0 1 2 3 4 5 6 7 8 9 ! @ # $ % ^ & * + - < > / [ ] { } ` ~
  72.  
  73. Added a counter of MarkMail messages left on the system.
  74. Corrected an error in baud rate calculation when baud rates included "E".
  75.  
  76.  
  77. Version 14s19 16-Feb-90 S.H.Smith
  78. -----------------------------------------------------------------------
  79.  
  80.  
  81. Added reports for ProDoor's "Free Download" feature.  This report is
  82. enabled with report code "Q".  Use the MAXFREE option to control the
  83. maximum number of filenames to be reported.
  84.  
  85. Moved samples configuration files to a sub-archive.
  86.  
  87. Version 14s18 13-Jan-90 S.H.Smith
  88. -----------------------------------------------------------------------
  89.  
  90.  
  91. Dates after 12-31-89 were not correctly calculated.
  92.  
  93. Added reports for ProLogon's new "Connect type" and "Security level"
  94. caller log entries.
  95.  
  96. Version 14s17 04-Jan-90 S.H.Smith
  97. -----------------------------------------------------------------------
  98.  
  99.  
  100. See CALLS.DOC for an explanation of the files included in CAL14S16.ZIP.
  101.  
  102. Deleted all command line parameters and created a new configuration file
  103. format to control reporting.  See CALLS.CNF for example file format.
  104.  
  105. Corrected processing of 'NUL' input file option.
  106.  
  107. Corrected reporting of download efficiency on "G" protocols.
  108.  
  109. Changed efficiency tables to allow up to 150% in report.
  110.  
  111. Added libraries to allow shared reading of caller log files.
  112.  
  113. Added new config file options to control number of entries in conference,
  114. bulletin, doors, and batchSize reports.
  115.  
  116. Added new config file option to redefine protocol names in report.
  117.  
  118. Added new config file option to specify alternate CALLS.SAV file name.
  119.  
  120. Added calculation of time spend processing scheduled events.
  121.  
  122. Version 14s16 02-Aug-89 S.H.Smith
  123. -----------------------------------------------------------------------
  124.  
  125. Corrected logic for determination of first and last log entry dates
  126. on multi-node reports.
  127.  
  128. Version 14s15 24-Jul-89 S.H.Smith
  129. -----------------------------------------------------------------------
  130.  
  131. Changed message formats to support ProDoor 3.1 betas as of 7-12-89.
  132. Added support for new ProLogon baud rate information.
  133.  
  134. Added support for multi-node reporting.  Append /N to caller file name,
  135. where N is the highest node number.  The program will then sequentially
  136. scan the caller files and combine them for a single report.
  137.  
  138. Version 14s14 13-Jul-89 S.H.Smith
  139. -----------------------------------------------------------------------
  140.  
  141. Changed message formats to support ProDoor 3.0 betas as of 4-9-89.
  142. Added support for 38400 bps connect speeds.
  143.  
  144. Version 14s13 09-Apr-89 S.H.Smith
  145. -----------------------------------------------------------------------
  146.  
  147. Corrected the handling of empty caller logs.  This makes it possible to
  148. generate multiple reports from the same caller log by re-running the
  149. calls program with 'NUL' in place of the caller log filename.
  150. Eliminated the use of Borland's CRT unit.  Ansi codes are now used to
  151. control the local display.
  152.  
  153. Usage:
  154. -----
  155.  
  156. calls CALLERS-FILE OUTPUT-FILE REPORT-LIST MIN-DOWNLOAD PEAK-HOURS
  157.  
  158. CALLERS-FILE is your pcboard CALLER file.  Use "NUL" to repeat previous data.
  159. OUTPUT-FILE  defaults to BLT99
  160. REPORT-LIST  defaults to ANBCDEFGHIJKLM
  161. MIN-DOWNLOAD defaults to 2
  162.  
  163. PEAK-HOURS   defaults to YNNNNNNNNNNNNNNNNYYYYYYY
  164.                         {0         1         2   }
  165.                         {012345678901234567890123}
  166.  
  167. The legal REPORT-LIST letters are:
  168.    A: system statistics            B: graphic modes
  169.    C: baud rates                   D: hourly usage
  170.    E: conferences joined           F: bulletins read
  171.    G: doors opened                 H: download protocols
  172.    I: download efficiency          J: upload protocols
  173.    K: upload efficiency            L: batch sizes
  174.    M: files downloaded             N: security statistics
  175.                                    Z: insert a blank line
  176.  
  177. Examples:
  178.  
  179.   calls \pcb\main\caller \gen\blt3
  180.             ;uses default report list, min-download and peak-hours.
  181.  
  182.   calls \pcb\main\caller \gen\blt3 ABCEFG 4 NNNNNNNNYYYYYYYYYNNNNNNN
  183.             ;to specify peak hours you MUST also include 
  184.             ;the report-list and min-download paremeters.
  185.  
  186.   calls nul \gen\blt-usage D
  187.   calls nul \gen\blt-files M
  188.             ;repeat previous report date in different formats or to
  189.             ;alternate output files
  190.  
  191.  
  192. Sample EVENT.SYS lines for two node systems:
  193. -------------------------------------------
  194.  
  195. rem Update NODE 1 caller log database
  196. cd \pcb1
  197. type \pcb\main\daycal1 >>\pcb\main\caller1
  198. if exist calls.sav     calls \pcb\main\daycal1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  199. if not exist calls.sav calls \pcb\main\caller1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  200. copy \pcb\main\daycal1 \pcb\main\yester1
  201. copy \pcb\main\newcal1 \pcb\main\daycal1
  202.  
  203. rem Update NODE 2 caller log database
  204. cd \pcb2
  205. type \pcb\main\daycal2 >>\pcb\main\caller2
  206. if exist calls.sav     calls \pcb\main\daycal2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  207. if not exist calls.sav calls \pcb\main\caller2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  208. copy \pcb\main\daycal2 \pcb\main\yester2
  209. copy \pcb\main\newcal2 \pcb\main\daycal2
  210.  
  211. rem Create top uploaders/downloaders bulletin
  212. cd \pcb
  213. topusr main\users gen\blt5 20 4 120
  214.  
  215. Version 14s12 12-Mar-89 S.H.Smith
  216. -----------------------------------------------------------------------
  217.  
  218. Changes to allow 'ZIP' to be used instead of 'ARC'.
  219. Fixed some reports where 100.0% exceeded the margins.
  220. Corrected display of 'last caller log entry' on screen.
  221.  
  222. Version 14s11 27-Feb-89 S.H.Smith
  223. -----------------------------------------------------------------------
  224.  
  225. Rewrote file scanning procedures to sequentially access the caller log.
  226. This makes it possible to report from log files that have been partially
  227. corrupted by a text editor or another program failure.  Added a report
  228. of messages entered via the Qmail door.
  229.  
  230. Version 14s10 31-Jan-89 S.H.Smith
  231. -----------------------------------------------------------------------
  232.  
  233. Several statistics were double counting.  Improved format of hourly
  234. utilization graphic.  Added new statistic for CD-ROM library access.
  235. Slight speedup.
  236.  
  237. Version 14s9 29-Jan-89 S.H.Smith
  238. -----------------------------------------------------------------------
  239.  
  240. Corrected an error that prevented the report from counting callers with
  241. 'NEW' in their city name!  Uploads are no longer included in the list of
  242. files downloaded.
  243.  
  244. Version 14s8 10-Jan-89 S.H.Smith
  245. -----------------------------------------------------------------------
  246.  
  247. Removed case sensitivity on most caller log entries.
  248.  
  249. Version 14s7 05-Jan-89 S.H.Smith
  250. -----------------------------------------------------------------------
  251.  
  252. Added color output files.
  253. Added support for 4800 baud connections.
  254. Corrected formatting in bar graphs for items with 100%.
  255.  
  256. Version 14s6 31-Dec-88 S.H.Smith
  257. -----------------------------------------------------------------------
  258.  
  259. Removed ARC-specific terminology.  Updated for similar changes in
  260. ProDoor betas dated after 10-9-88.
  261.  
  262. Version 14s4 10-Oct-88 S.H.Smith
  263. -----------------------------------------------------------------------
  264.  
  265. Added a report of "Free Downloads" for compatibility with 9/30
  266. prodoor betas.
  267. Added a "Peak Hours" command line parameter.
  268. Deleted "Time Distribution" report because it was so slow and inaccurate.
  269.  
  270. Version 14s3 10-03-88 S.H.Smith
  271. -----------------------------------------------------------------------
  272.  
  273. Updated for new conference joined and bulletin read log formats.
  274. Added a check for empty caller log files.
  275.  
  276. Version 14s2 24-Sep-88 S.H.Smith
  277. -----------------------------------------------------------------------
  278.  
  279. Updated protocol letters for PCBoard 14 compatibility.
  280.  
  281. Version 14s1 20-Sep-88 S.H.Smith
  282. -----------------------------------------------------------------------
  283.  
  284. Updated new user registration for new PCB 14 message format.
  285.  
  286. Version 12s21 22-Jul-88 S.H.Smith
  287. -----------------------------------------------------------------------
  288.  
  289. Added support for node chat.
  290.  
  291. Version 12s20 22-Jun-88 S.H.Smith
  292. -----------------------------------------------------------------------
  293.  
  294. Added a new data file CALLS.DIR, and a new graph of Time Usage by Activity.
  295. Create the file CALLS.DIR in the current directory.  List all your download
  296. and upload directories in this file (one directory per line).   CALLS will
  297. use this to search for each file that has been downloaded or uploaded.  The
  298. files must be located to determine file size, which is used to calculate the
  299. minutes spent downloading and uploading.  File sizes are determined only the
  300. first time a file is seen.
  301.  
  302. Version 12s19 12-Jun-88 S.H.Smith
  303. -----------------------------------------------------------------------
  304.  
  305. Changed ARCM message counter to a long integer to prevent overflows.
  306.  
  307. Version 12s17 10-May-88 S.H.Smith
  308. -----------------------------------------------------------------------
  309.  
  310. Added support for ProDoor's new ARC Mail feature.
  311.  
  312. Version 12s16 16-Apr-88 S.H.Smith
  313. -----------------------------------------------------------------------
  314.  
  315. Added checks for 24:xx instead of 00:xx in some caller log entries.
  316. Should prevent some runtime errors.
  317.  
  318. Version 12s15 12-Mar-88 S.H.Smith
  319. -----------------------------------------------------------------------
  320.  
  321. Recompiled with stack and range check enabled - slower, but safer.
  322.  
  323. Version 12s14 11-Feb-88 S.H.Smith
  324. -----------------------------------------------------------------------
  325.  
  326. Improved bulletin activity report formatting.
  327. Made changes to allow caller logs with over 32000 entries.  Changed graphics
  328. to allow > 100% (for MNP modems in efficiency reporting).
  329.  
  330. Version 12s13 11-Feb-88 S.H.Smith
  331. -----------------------------------------------------------------------
  332.  
  333. Made the 'remote dos time' statistic work properly (broken ever since
  334. PCB 12.)   Added entries in protocol table for all letters of
  335. the aplhabet.
  336.  
  337. Version 12s12 19-Jan-88 S.H.Smith
  338. -----------------------------------------------------------------------
  339.  
  340.  
  341. Added the ability to store an internal summary of your caller log. 
  342. This makes it possible to add small daily caller logs and produce 
  343. the full report without keeping the whole caller log on file.  It 
  344. also reduces time spent scanning the log file. 
  345.  
  346. Each time CALLS is run, it looks for CALLS.SAV in the default 
  347. directory.  If it is present, it loads this "saved summary" into 
  348. memory and adds the specified caller file to it.  After the report 
  349. is generated, CALLS.SAV is updated to include the new data.   Here 
  350. is a recommended EVENT.SYS sequence: 
  351.  
  352.      1. cd \pcb
  353.      2. calls main\daycal gen\blt3 zzAzNBCDEFGHIJKLM 2
  354.      3. type main\daycal >>main\caller
  355.      4. del main\daycal
  356.  
  357. Use PCBSETUP to change the caller log filename from the usual 
  358. 'caller' to 'daycal' - this will be your "daily caller log".   
  359.  
  360. Line 2 runs the caller log report on the daily log and generates 
  361. BLT3.  Line 3 adds the daily caller log to the end of the 
  362. "historical" caller log.  Line 4 deletes the daily log (pcboard 
  363. will make a new one for you).   
  364.  
  365. If you are short on disk space, you don't even need to keep the 
  366. 'main\caller' - just delete it.  The information in CALLS.SAV will 
  367. be enough to generate the full caller log report. 
  368.  
  369. If for some reason you want to start over with a fresh log, just 
  370. delete 'calls.sav' and calls.exe will create a new one for you.   
  371.  
  372. If you don't want to take advantage of this 'daily caller log' 
  373. feature, just add the line 
  374.    del calls.sav
  375. before the 'calls \pcb\main ...' line in your event.sys - without 
  376. the .sav file, it will act just like it used to. 
  377.  
  378. Note: if you run CALLS twice on the same caller log, the 
  379. information will be added to CALLS.SAV twice!  So, either make a 
  380. backup copy of CALLS.SAV, or always delete daycal when you run 
  381. calls. 
  382.  
  383. Version 12s11 16-Jan-88 S.H.Smith
  384. -----------------------------------------------------------------------
  385.  
  386. Moved security related statistics to a new report (code 'N'). Added 
  387. a fourth parameter to specify the minimum number of downloads 
  388. needed to include a file in the files-downloaded report. 
  389.  
  390. Version 12s10 31-Dec-87 S.H.Smith
  391. -----------------------------------------------------------------------
  392.  
  393. Sorted entries in system statistics report.  Added reporting of 
  394. Archive test runs, archive extract runs and re-arc runs. 
  395.  
  396. Version 12s9 27-Dec-87 S.H.Smith
  397. -----------------------------------------------------------------------
  398.  
  399. Added a third command-line parameter to specify the reports to 
  400. generate. This lists the specific report sections to produce and 
  401. the order in which they will appear.   
  402.  
  403. If, for example, you wanted to produce only the hourly usage (D), 
  404. bulletins read (F), and system statistics (A) reports (in that 
  405. order), the command line would be: 
  406.    calls \pcb\main\caller \pcb\gen\blt3 DFA
  407.  
  408. -----------------------------------------------------------------------
  409.  
  410. Version 12s7 21-Dec-87
  411. Version 12s6 29-Nov-87
  412. Version 12s5 20-Nov-87
  413. Version 12s4 07-Nov-87
  414. Version 12s3 12-Oct-87
  415. Version 12s1 10-Oct-87
  416.  
  417.  
  418.  
  419.                       ORIGINAL DOCUMENTATION
  420.                       ======================
  421.  
  422.  
  423. Phoenix Arizona                                  Feb 23, 1987
  424.  
  425.      This documentation covers version 11.8 of CALLS118.COM, a 
  426. call analyzer for PCBoard 11.8. 
  427.      It was written in Turbo Pascal, and is in it's 7th update 
  428. with this version.  Previous versions had various names and 
  429. version numbers such as "pcbcalls", "calls5b" etc.  From now on, 
  430. it will carry the same version number as PCBoard.  If any 
  431. revisions are made or required, it will have a letter suffix. (ie 
  432. 117b). 
  433.      This version contains only minor mods to include changes made 
  434. in going from 11.6 to 11.7.  The Imodem and Gmodem protocols have 
  435. been added, some minor cleanup was done on the displays, and the 
  436. error file, BLT99.DOC has been eliminated as redundant and of not 
  437. much value. 
  438.  
  439. OPERATION
  440.  
  441.      This version works pretty much the same as all previous 
  442. versions with the exception that the error file "BLT99.DOC" has 
  443. been eliminated. 
  444.      The program is very easy to run, requiring only access to the 
  445. callers file.  This can be done in one of two ways: If you run it 
  446. from your 'MAIN' dir, you can just type CALLS118 and it will 
  447. default to an input file name of "CALLERS" and an called 
  448. "CALLFILE.DOC". 
  449.      It will also support command line parameters, so you can use 
  450. it in a batch file or in your "EVENT.SYS" file, as I do. The .COM 
  451. file should be in your \PCB dir, though this is not required.  
  452. Below is a sample of part of my .SYS file: 
  453.  
  454.   calls117 d:\pcb\main\callers e:\pcb\gen\blt10
  455.  
  456. Both parameters should be specified: the first one tells it where 
  457. to find the file (d:\pcb\main\callers) and the name of the callers 
  458. file.  The second tells it where to put the output file, in this 
  459. case I am sending it to Drive D with the name "BLT10". 
  460.  
  461. There are a couple of things that make for better operation: 
  462.   1.  Do not mix callers logs of pcboard 10.0 and 11.7.  I have
  463. heard of no problems mixing 11.6, 11.7 and 11.8.
  464.   2.  For proper operation, your clock and date MUST be correct; if 
  465. the programs finds that your log begins in 1987 and ends in 1980, 
  466. it will usually abort.  If not, the numbers will be totally wrong 
  467. in most cases. 
  468.   It is recommended, though not required, that you start a new 
  469. callers log if you are new to this program.  It is most accurate 
  470. when the log begins with "New callers log initiated "etc. 
  471.  
  472.      Please give it a try and let me know what you think of it, as 
  473. the only way I can put in needed changes is with feedback from the 
  474. users.  You can leave any comments at my board (Phoenix Techline) 
  475. at 602 936-3058 (1200-9600), 24 hours. 
  476.  
  477.      I have included the source code in this version so that it may 
  478. be customized if you desire.  If you make any major changes or 
  479. improvements, please upload them to my board at 602 936 3058. 
  480.  
  481.                           Warren Lauzon
  482.     
  483.